home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PVDRIVER
/
SS24DRV.ZIP
/
SS24DRVA.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-04-24
|
2KB
|
81 lines
@echo off
cls
if "%1"=="" goto Example
echo ────────────────────────────────────────────────────────────────
echo Diamond Computer Systems, Inc.
echo SpeedSTAR-24 Drivers and Utilities Installation
echo ────────────────────────────────────────────────────────────────
echo Note:
echo This program will load the SpeedSTAR-24 Driver and Utility files to
echo your hard drive under a directory named \SS24. You must use this
echo install program from the root directory of your floppy disk drive.
echo .
echo If you do not want to continue, press Ctrl-Break now or
pause
:doinstall
ds %1 3000
if errorlevel==3 goto InvalidDrive
if errorlevel==2 goto InstallError
goto makedir
:InvalidDrive
echo -
echo Note:
echo "%1" is an invalid drive name. Please use the drive's letter
echo followed by a colon:
goto Example
:Example
echo -
echo Note:
echo Please specify which drive to install the SpeedSTAR-24
echo UTILITIES & DRIVERS, for example:
echo -
echo C: [Enter]
echo -
pause
goto Quit
:MakeDir
if exist %1\SS24\util\*.* goto DirExists
goto CopyFiles
:DirExists
echo -
echo WARNING:
echo The %1\SS24 directory already exists. Press Ctrl-Break now if you don't
echo want to overwrite the contents of that directory.
pause
:CopyFiles
cd \
echo -
echo Now copying the SpeedSTAR-24 Utilities & Drivers files
echo to %1\SS24...
drivers -D -o %1\
copy ss24.gif %1\ss24 > nul
copy gis.exe %1\ss24 > nul
copy vmode.com %1\ss24\util > nul
copy install2.bat %1\ss24 > nul
copy end.bat %1\ss24 > nul
cd > %1\$$$.bat
%1\ss24\install2.bat %1
goto End
:InstallError
echo -
echo ERROR:
echo The installation of the SpeedSTAR-24 Utilities & Drivers
echo to %1\SS24 was unsuccessful.
echo -
echo This may be because your hard disk is full.
echo The SpeedSTAR 24 Utilities & Drivers requires at least 2MB
echo of free disk space.
pause
goto Quit
:End
:Quit